package engine.systems.ui.progressBar
{
	import ash.core.Component;
	
	public class ProgressBar extends Component
	{
		public var component:*;
		public var property:String;
		
		public var childName:String = "progress";
		public var axis:String 		= "x";
		
		public var min:Number = 0;
		public var max:Number = 1;
		
		public function ProgressBar(component:*, property:String, min:Number = 0, max:Number = 1)
		{
			this.component 	= component;
			this.property 	= property;
			this.min 		= min;
			this.max 		= max;
		}
		
		override public function destroy():void
		{
			this.component = null;
		}
	}
}